#ifndef OEVENT_H
#define OEVENT_H
#include <OType.h>
#include <OObject.h>
#include <OEventHandler.h>

class OEvent{
	public:
		OEvent(){}
		~OEvent(){}
		
		void Register(OObject *);
		void UnRegister(OObject *);

	protected:
		void Invoke();
		
		vector<OObject *>		EventHandlerList;
		
		IDirectFBEventBuffer    *eventbuffer;
		DFBInputEvent 			evt;
};

#endif
